package ooday04;

public abstract class Animal1 {
    String name1;
    int age1;
    String color1;
    Animal1(String name1,int age1,String color1){
        this.name1=name1;
        this.age1=age1;
        this.color1=color1;
    }
    void drink(){
        System.out.println(color1+"色的"+age1+"岁的"+name1+"正在喝水!");
    }
    abstract void eat();
}
